package com.farmer.machinery.service;

import com.farmer.common.entity.Machinery;
import com.farmer.common.result.Result;

public interface MachineryService {
    Result<?> list(Integer pageNum, Integer pageSize, String name, String type, String status);
    Result<?> add(Machinery machinery);
    Result<?> update(Machinery machinery);
    Result<?> delete(Long id);
    Result<?> detail(Long id);
}